home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3044 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: nntphub.cb.att.com!news
  2. From: John McEncroe <jmc@jolt.mt.att.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: a=5; a==5;lost friend
  5. Date: 25 Jan 1996 18:31:36 GMT
  6. Organization: AT&T Bell Laboratories, Columbus, Ohio
  7. Message-ID: <4e8ia8$f4l@nntpb.cb.att.com>
  8. References: <822403351snz@genesis.demon.co.uk> <tcpnntpd.16.1.23.23.34.0.2781597121.360047@bbs.sos.on.ca>
  9. NNTP-Posting-Host: 135.20.31.*
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1 (X11; U; SunOS 5.4 sun4m)
  14. X-URL: news:tcpnntpd.16.1.23.23.34.0.2781597121.360047@bbs.sos.on.ca
  15.  
  16. <verneb@sos.on.ca> wrote:
  17. >
  18. >    Please if you read this Alan write back to me will you since I 
  19. >accidently lost your address before I wrote it down.  We were 
  20. >discussing the difference between:-
  21. >    
  22. >    a = 5; 
  23. >    and 
  24. >    a ==  5;
  25. >    
  26. >    plus other programming problems.  
  27. >    
  28. >    I know you were something to do with: nasa.com but not 100 percent 
  29. >sure.  
  30. >    
  31. >    Hope I here from you.  
  32. >Verne H. Bohlender
  33. >Box 416, Chesley, Ontario.Ca. N0G 1L0
  34. >verneb@The-Fix.sos.on.ca
  35. >___
  36. >* UniQWK #2158*
  37. >
  38. Well, I'm not Alan but:
  39.  
  40. a = 5 is assigning the value of 5 to a
  41. a == 5 is comparing the value of a to 5 (like in an if statement)
  42.  
  43. John.
  44.  
  45.